import { AppCarousel } from "@/api/service/carousel/carousel";

export const showForm = ref(false);

const formObj: AppCarousel = {
  id: "",
  picture: "",
  link: "",
  linkTarget: "",
  beginTime: "",
  endTime: "",
  enable: "",
  sort: 0
};
export const form = ref<AppCarousel>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
